home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-09-01 | 19.4 KB | 1,164 lines |
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 1997-99 Pandemic Studios
- //
- // Dark Reign II
- //
- //
-
- ///Intro cineractive
- CreateObjectType("cineractive_intro", "Objective")
- {
- Condition("TRUE");
- Action()
- {
- Cineractive()
- {
- At(0)
- {
- DisableIFace(1);
- DisableInput(1);
- DisableShroud(1);
-
- Fade()
- {
- Time(0, 3, 5);
- Direction("up");
- }
-
- Text()
- {
- Time(1, 5, 6);
- Direction("up");
- Text("#missions.jda.j01.mis_name");
- Font("Movie");
- }
- }
-
- At(3)
- {
- SetBookmark()
- {
- Name("intro");
- }
-
- Action()
- {
- GameMessage()
- {
- Message("j01_comb_intro-1");
- }
- }
-
- Letterbox()
- {
- Time(0, 78, 80);
- Direction("down");
- }
-
- Mesh()
- {
- GodFile("cockpit01.xsi");
- Time(0, 12, 12);
- Direction("up");
- }
- }
-
- At(15)
- {
- SetCamera("PadlockCam")
- {
- Region("lowcamera");
- Height(2);
- Tag("Shuttle");
- }
- }
-
- At(18)
- {
- SetBookmark()
- {
- Name("shuttle2");
- Tag("Shuttle2");
- Start(2);
- }
- }
-
- At(21.0)
- {
- Action()
- {
- SelfDestruct()
- {
- Tag("Shrap1");
- }
- }
- }
-
- At(23.0)
- {
- Action()
- {
- SelfDestruct()
- {
- Tag("Shrap2");
- }
- }
- }
-
- At(25.5)
- {
- Action()
- {
- SelfDestruct()
- {
- Tag("Shrap3");
- }
- }
- }
-
- At(26)
- {
- Mesh()
- {
- GodFile("cockpit01.xsi");
- Time(0, 22, 22);
- Direction("up");
- }
-
- SetBookmark()
- {
- Name("shuttle3");
- Tag("");
- }
- }
-
- At(29.5)
- {
- Action()
- {
- SelfDestruct()
- {
- Tag("Shrap4");
- }
- }
- }
-
- At(30.0)
- {
- Fade()
- {
- Time(0.1, 0.2, 0.3);
- Mode("down");
- Color(255, 255, 255);
- }
- Action()
- {
- Cmd("quake.type quake::jolt");
- }
- }
-
-
- At(30.4)
- {
- Fade()
- {
- Time(0.4, 0.5, 0.6);
- Direction("up");
- Color(255, 255, 255);
- }
- }
-
- At(32)
- {
- Action()
- {
- Cmd("quake.type quake::big");
- }
- }
-
- At(44.7)
- {
- Fade()
- {
- Time(0.1, 0.2, 0.3);
- Mode("down");
- Color(255, 255, 255);
- }
- }
-
- At(45.0)
- {
- Fade()
- {
- Time(0, 3, 6);
- Direction("up");
- }
- }
-
- At(48.0)
- {
- SetBookmark()
- {
- Name("shuttle4");
- }
- Action()
- {
- Delete()
- {
- Tag("cin_tower");
- }
- }
- }
-
- At(70)
- {
- SetBookmark()
- {
- Name("shuttle5");
- }
- }
-
- At(77.0)
- {
- Action()
- {
- Delete()
- {
- Tag("greg_aa");
- }
- NewObjective("objective_kill_mob");
- DisplayObjective("Add", "objective_kill_mob")
- {
- Text("#missions.jda.j01.obj_kill_mob");
- }
- NewObjective("objective_patrol_killed");
- }
- }
-
- At(81)
- {
- //DefaultCamera();
- DisableShroud(0);
- DefaultCamera(1)
- {
- Pan()
- {
- Region("jda_cam_start");
- Time(2);
- }
- }
- }
-
- At(83.0)
- {
- EndCineractive();
- Action()
- {
- Cmd("quake.active 0");
- }
- }
- }
- }
- }
-
-
- //////////////////////////////////////////////////////////
- // Get to the base cineractive
- //
-
- CreateObjectType("cineractive_mob", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("TRUE");
- Action()
- {
- Cineractive()
- {
- At(0)
- {
- Fade()
- {
- Time(1, 2, 3);
- Direction("up");
- }
- }
-
- At(2)
- {
- DisableIFace(1);
- DisableInput(1);
- DisableShroud(1);
-
- SetBookmark()
- {
- Name("attack1");
- Tag("");
- }
-
- Letterbox()
- {
- Time(0, 20, 20);
- Direction("down");
- }
- }
-
- At(5)
- {
- Action()
- {
- GameMessage()
- {
- Message("j01_cig_obj-1");
- }
- }
- }
-
- At(20.5)
- {
- Fade()
- {
- Time(1, 2, 3);
- Mode("up");
- }
- }
-
- At(22.5)
- {
- DisableShroud(0);
- DefaultCamera();
- Action()
- {
- NewObjective("objective_msg_base_loc");
- DisplayObjective("Add", "objective_stand")
- {
- Text("#missions.jda.j01.obj_reinforce");
- }
- ExecuteScript("attackers", "squad.move.tagtoregion")
- {
- Op("%.tag", "=", "attackers");
- Op("%.region", "=", "attackers");
- }
- }
- }
-
- At(23.5)
- {
- EndCineractive();
- }
- }
- }
- }
- }
-
-
- //////////////////////////////////////////////////////////
- // Earthquake cineractive
- //
-
-
-
- CreateObjectType("cineractive_quake", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("TRUE");
- Action()
- {
- Cineractive()
- {
- At(0)
- {
- Fade()
- {
- Time(1, 2, 3);
- Direction("up");
- }
- }
-
- At(0.5)
- {
- Action()
- {
- Cmd("quake.type quake::big");
- }
- }
-
- At(2)
- {
- DisableIFace(1);
- DisableInput(1);
- DisableShroud(1);
- SetCamera("PadlockCam")
- {
- Region("quake1");
- Height(2);
- Tag("jda_hq");
- }
-
- Letterbox()
- {
- Time(0, 38, 40);
- Direction("down");
- }
-
- Action()
- {
- SelfDestruct()
- {
- Tag("attackers");
- }
- SelfDestruct()
- {
- Tag("attackers_2");
- }
- DisplayObjective("Remove", "cineractive_quake");
- GameMessage()
- {
- Message("j01_cig_sty-02");
- }
- }
- }
-
- At(3)
- {
- Action()
- {
- Cmd("rain.strike");
- }
- }
-
- At(6)
- {
- SetBookmark()
- {
- Name("quake2");
- }
- }
- At(7.5)
- {
- Action()
- {
- SelfDestruct()
- {
- Tag("quake1");
- }
- }
- }
-
- At(9)
- {
- Action()
- {
- Cmd("rain.strike");
- }
- }
-
- At(10)
- {
- SetBookmark()
- {
- Name("quake");
- }
- }
-
- At(15)
- {
- Action()
- {
- SelfDestruct()
- {
- Tag("quake2");
- }
- }
- }
-
- At(15.5)
- {
- Action()
- {
- Cmd("rain.strike");
- }
- }
-
- At(16)
- {
- Action()
- {
- SelfDestruct()
- {
- Tag("jda_hq");
- }
- SelfDestruct()
- {
- Tag("quake3");
- }
- SelfDestruct()
- {
- Tag("bridges");
- }
- }
- }
-
- At(18)
- {
- SetBookmark()
- {
- Name("damage");
- }
- }
-
- At(23)
- {
- SetBookmark()
- {
- Name("damage2");
- }
- }
-
- At(28)
- {
- SetBookmark()
- {
- Name("damage3");
- }
- }
-
- At(34)
- {
- SetBookmark()
- {
- Name("rig");
- }
- }
-
- At(40)
- {
- Action()
- {
- NewObjective("strikes");
- SetTeam()
- {
- Tag("rig");
- Team("jda");
- }
- }
- }
-
- At(40)
- {
- DisableShroud(0);
- DefaultCamera(1)
- {
- Pan()
- {
- Region("rigs");
- Time(2);
- }
- }
- }
-
- At(42)
- {
- EndCineractive();
- }
- }
- }
- }
- }
-
-
-
- CreateObjectType("cineractive_refinery", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("TRUE");
- Action()
- {
- Cineractive()
- {
- At(0)
- {
- Fade()
- {
- Time(1, 2, 3);
- Direction("up");
- }
- }
- At(2)
- {
- DisableIFace(1);
- DisableInput(1);
- DisableShroud(1);
- SetBookmark()
- {
- Name("refinery");
- }
- Letterbox()
- {
- Time(0, 30, 32);
- Direction("down");
- }
- }
-
- At(4)
- {
- Action()
- {
- GameMessage()
- {
- Message("j01_comb_sty-2");
- }
- }
- }
-
- At(18)
- {
- Fade()
- {
- Time(1, 1.5, 2);
- Mode("up");
- }
- }
-
- At(19)
- {
- SetBookmark()
- {
- Name("collector");
- }
- }
-
- At(32)
- {
- DisableShroud(0);
- DefaultCamera(1)
- {
- Pan()
- {
- Region("collector");
- Time(2);
- }
- }
- Action()
- {
- NewObjective("collector_loc");
- DisplayObjective("Add", "objective_base_built")
- {
- Text("#missions.jda.j01.obj_base_built");
- }
- }
- }
-
- At(34)
- {
- EndCineractive();
- }
- }
- }
- }
- }
-
-
-
- CreateObjectType("cineractive_tower", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(6);
- }
- Action()
- {
- Cineractive()
- {
- At(0)
- {
- Fade()
- {
- Time(1, 2, 3);
- Direction("up");
- }
- }
- At(2)
- {
- DisableIFace(1);
- DisableInput(1);
- DisableShroud(1);
- SetBookmark()
- {
- Name("tower");
- }
-
- //Action()
- //{
- // GameMessage()
- // {
- // Message("msg_4towers");
- // }
- //}
-
- Letterbox()
- {
- Time(0, 11, 11);
- Direction("down");
- }
- }
-
- At(11.5)
- {
- Fade()
- {
- Time(1, 2, 3);
- Mode("up");
- }
- }
-
- At(13.5)
- {
- DisableShroud(0);
- DefaultCamera();
- }
-
- At(14.5)
- {
- EndCineractive();
- }
- }
- }
- }
- }
-
-
- CreateObjectType("cineractive_outro", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("TRUE");
- Action()
- {
- Cineractive()
- {
- At(0)
- {
- Fade()
- {
- Time(2, 3, 5);
- Direction("up");
- }
- }
- At(3)
- {
- DisableIFace(1);
- DisableInput(1);
- DisableShroud(1);
- Action()
- {
- GameMessage()
- {
- Message("j01_cig_sty-3");
- }
- }
-
- SetBookmark()
- {
- Name("airstrikes");
- }
-
- Letterbox()
- {
- Time(0, 18.5, 18.5);
- Direction("down");
- }
-
- }
-
- At(5)
- {
- Action()
- {
- SpawnObjects()
- {
- Formation("Box");
- Direction(0);
- Region("strike_cam_1");
- Tag("strike_cam");
- AddType("special.util.camera60", 1);
- }
- SpawnObjects()
- {
- Formation("Box");
- Direction(0);
- Region("strike_cam_2");
- Tag("strike_cam");
- AddType("special.util.camera60", 1);
- }
- SpawnObjects()
- {
- Formation("Box");
- Direction(0);
- Region("strike_cam_3");
- Tag("strike_cam");
- AddType("special.util.camera60", 1);
- }
- }
- }
-
- At(5.0)
- {
- Action()
- {
- UseOffMapObject()
- {
- Region("strike_3");
- Type("jda.strike.bomb");
- }
- }
- }
-
- At(5.5)
- {
- Action()
- {
- UseOffMapObject()
- {
- Region("strike_6");
- Type("jda.strike.bomb");
- }
- }
- }
-
- At(7.0)
- {
- Action()
- {
- UseOffMapObject()
- {
- Region("strike_1");
- Type("jda.strike.bomb");
- }
- }
- }
-
- At(7.5)
- {
- Action()
- {
- UseOffMapObject()
- {
- Region("strike_2");
- Type("jda.strike.bomb");
- }
- }
- }
-
- At(8)
- {
- Action()
- {
- UseOffMapObject()
- {
- Region("strike_5");
- Type("jda.strike.bomb");
- }
- }
- }
-
- At(9)
- {
- Action()
- {
- UseOffMapObject()
- {
- Region("strike_4");
- Type("jda.strike.bomb");
- }
- }
- }
-
- At(9.5)
- {
- Action()
- {
- UseOffMapObject()
- {
- Region("strike_2");
- Type("jda.strike.bomb");
- }
- }
- }
-
- At(10.0)
- {
- Action()
- {
- UseOffMapObject()
- {
- Region("strike_3");
- Type("jda.strike.bomb");
- }
- UseOffMapObject()
- {
- Region("strike_6");
- Type("jda.strike.bomb");
- }
- }
- }
-
-
- At(11.5)
- {
- Action()
- {
- UseOffMapObject()
- {
- Region("strike_1");
- Type("jda.strike.bomb");
- }
- UseOffMapObject()
- {
- Region("strike_2");
- Type("jda.strike.bomb");
- }
- }
- }
-
- At(12.0)
- {
- Action()
- {
- UseOffMapObject()
- {
- Region("strike_4");
- Type("jda.strike.bomb");
- }
- UseOffMapObject()
- {
- Region("strike_5");
- Type("jda.strike.bomb");
- }
- }
- }
-
- At(19)
- {
- Fade()
- {
- Time(2, 3, 5);
- Direction("up");
- }
- Action()
- {
- SelfDestruct()
- {
- Tag("sprawler_buildings");
- }
- }
- }
-
- At(22)
- {
- EndCineractive();
- Pause();
- Action()
- {
- Win();
- }
- }
- }
- }
- }
- }
-
-
- CreateObjectType("cineractive_defeat", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("TRUE");
- Action()
- {
- Cineractive()
- {
- At(0)
- {
- Fade()
- {
- Time(2, 3, 5);
- Direction("up");
- }
- }
- At(3)
- {
- DisableIFace(1);
- DisableInput(1);
- DisableShroud(1);
- Pause();
- SetBookmark()
- {
- Name("airstrikes");
- }
-
- Letterbox()
- {
- Time(0, 9.5, 9.5);
- Direction("down");
- }
-
- }
-
- At(4)
- {
- Action()
- {
- GameMessage()
- {
- Message("j01_cig_fail-2");
- }
- }
- }
-
- At(10)
- {
- Fade()
- {
- Time(2, 3, 5);
- Direction("up");
- }
- }
-
- At(13)
- {
- EndCineractive();
- Action()
- {
- Lose();
- }
- }
- }
- }
- }
- }
-
-
-
- CreateObjectType("Shuttlemove", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(12);
- }
- Action()
- {
- ExecuteScript("shuttle1", "squad.move.spawntoregion_tag")
- {
- Op("%.types", "=", "shuttle");
- Op("%.tag", "=", "shuttle");
- Op("%.region.src", "=", "shuttle_start");
- Op("%.region.dst", "=", "shuttle");
- Op("%.direction", "=", 90);
- }
- NewObjective("delete_shuttle1");
- }
- }
- }
-
-
- CreateObjectType("delete_shuttle1", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(10);
- }
- Action()
- {
- Delete()
- {
- Tag("shuttle");
- }
- }
- }
- }
-
-
- CreateObjectType("Shuttlemove2", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(14);
- }
- Action()
- {
- ExecuteScript("shuttle2", "squad.move.spawntoregion_tag")
- {
- Op("%.types", "=", "shuttle");
- Op("%.tag", "=", "shuttle2");
- Op("%.region.src", "=", "shuttle2_start");
- Op("%.region.dst", "=", "shuttle2");
- Op("%.direction", "=", 270);
- }
- NewObjective("delete_shuttle2");
- }
- }
- }
-
-
- CreateObjectType("delete_shuttle2", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(12);
- }
- Action()
- {
- Delete()
- {
- Tag("shuttle2");
- }
- }
- }
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-